package 蓝桥杯;

import java.util.Scanner;

public class 数据交换 {
    public static void main(String[] args) {
        Scanner s1 = new Scanner(System.in);
        int arr1 =s1.nextInt();
        int arr2 =s1.nextInt();
        int temp;
        temp = arr1;
        arr1 = arr2;
        arr2 = temp;
        System.out.println(arr1 + " " + arr2);
    }
}
